<?php
/**
 * Clase para guardar datos de configuracion.
 * @author rodolfoflorentin@gmail.com
 */
class DATA
{
    /*datos de base de datos*
    
    public static $DB_HOST = 'localhost';
    public static $DB_NAME = 'mujermedica_com_db2011';
    public static $DB_USER = 'webmaster_mujerm';
    public static $DB_PW = 'rodo123';
    */
    
    /*datos de base de datos*/
    public $DB_HOST = 'localhost';
    public $DB_NAME = 'refcom_quieroun';
    public $DB_USER = 'root';
    public $DB_PW = '';
   
    /*paginado*/
    public $PAGINADO = 10;

    public static $ORDERBY = 'idAdmin';

    public static $tituloBackend = 'QuieroUn! - Administraci&oacute;n';
	
	public function __construct()
	{
		if($_SERVER['SERVER_NAME']=="localhost"){
			$this->DB_HOST = 'localhost';
			$this->DB_NAME = 'refcom_quieroun';
			$this->DB_USER = 'root';
			$this->DB_PW = '';
		}else if($_SERVER['SERVER_NAME']=="quieroun.com"){
			$this->DB_HOST = 'localhost';
			$this->DB_NAME = 'quieroun';
			$this->DB_USER = 'quieroun';
			$this->DB_PW = 'rfloretin';
		}
	}
}
?>
